﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Windows.Documents;

namespace SNSpirit.Documents.Adatpers.Ubb.Internal
{
	/// <summary>
	/// Represent the context in the document conversion. This is an internal class.
	/// </summary>
	internal class ConversionContext
	{
		/// <summary>
		/// Get the conversion options of the current context.
		/// </summary>
		public UbbToRichTextOptions Options
		{
			get;
			private set;
		}

		/// <summary>
		/// Get the current document.
		/// </summary>
		public Snowdreamist.Windows.Document.RichTextDocument Document
		{
			get;
			private set;
		}

		/// <summary>
		/// Get the current style stack.
		/// </summary>
		public ElementStyleStack StyleStack
		{
			get;
			private set;
		}

		/// <summary>
		/// Get the current block set.
		/// </summary>
		public BlockCollection BlockSet
		{
			get;
			private set;
		}

		/// <summary>
		/// Get the current inline set.
		/// </summary>
		public InlineCollection InlineSet
		{
			get;
			private set;
		}
	}
}
